﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="EditUser.aspx.cs" Inherits="HTTT.admin.EditUser" %>

<%@ Register Src="controls/ucUserDetail.ascx" TagName="ucUserDetail" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="toolbar-box">
        <div class="m">
            <div id="toolbar" class="toolbar-list">
                <ul>
                    <li id="toolbar-save" class="button">
                        <asp:LinkButton ID="btnSaveClose" runat="server" OnClick="btnSaveClose_Click">
                    <span class="icon-32-save"></span>Save &amp; Close </asp:LinkButton></li>
                    <li class="divider"></li>
                    <li id="toolbar-publish" class="button">
                        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="btnResetPwd_Click">
                        <span class="icon-32-revert"></span>Đặt lại mật khẩu</asp:LinkButton></li>
                    <li id="toolbar-unpublish" class="button">
                        <asp:LinkButton ID="btnDisable" runat="server" OnClick="btnDisable_Click">
                        <span class="icon-32-disable"></span>Khóa </asp:LinkButton></li>
                    <li id="toolbar-enable" class="button">
                        <asp:LinkButton ID="btnEnable" runat="server" OnClick="btnEnable_Click">
                        <span class="icon-32-enable"></span>Mở khóa </asp:LinkButton></li>
                    <li class="divider"></li>
                    <li id="toolbar-delete" class="button">
                        <asp:LinkButton ID="btnDelete" runat="server" OnClick="btnDelete_Click" OnClientClick="return confirm('Bạn chắc chắn muốn xóa?');">
                       <span class="icon-32-delete"></span>Delete </asp:LinkButton></li>
                    <li class="divider"></li>
                    <%--<li id="toolbar-apply" class="button">
                        <asp:LinkButton ID="btnApply" runat="server" OnClick="btnSave_Click">
                    <span class="icon-32-apply"></span>Save </asp:LinkButton></li>--%>
                    <%--<li id="toolbar-save-new" class="button">
                        <asp:LinkButton ID="btnSaveNew" runat="server" OnClick="btnSaveNew_Click">
                    <span class="icon-32-save-new"></span>Save &amp; New </asp:LinkButton></li>--%>
                    <li id="toolbar-cancel" class="button">
                        <asp:LinkButton ID="btnCancel" runat="server" OnClick="btnCancel_Click">
                    <span class="icon-32-cancel"></span>Cancel </asp:LinkButton></li>
                    <li class="divider"></li>
                    <li id="toolbar-help" class="button">
                        <asp:LinkButton ID="btnHelp" runat="server">
                    <span class="icon-32-help"></span>Help </asp:LinkButton></li>
                </ul>
                <div class="clr">
                </div>
            </div>
            <div class="pagetitle icon-48-article-add">
                <h2>
                    <asp:Label ID="lblTitle" runat="server" Text="">Sửa người dùng</asp:Label></h2>
            </div>
        </div>
    </div>
    <%--<div id="element-box">
        <div class="m">

    <uc1:ucUserDetail ID="ucUserDetail1" runat="server" />

    </div>
    </div>--%>
    <div id="element-box">
        <div class="m">
        <div class="width-100 fltlft">
            <fieldset class="adminform">
                <legend>Thông tin yêu cầu</legend>
                    <ul class="adminformlist">
                        <li>
                        <label id="Label24" for="jform_title" class="hasTip required" title="">
                                Thực hiện theo yêu cầu<span class="star">&nbsp;*</span></label>
                            <asp:TextBox ID="txtFromRequest" runat="server" TextMode="MultiLine" Rows="3"></asp:TextBox>
                        </li>
                    </ul>
                </fieldset>
            </div>
            <div class="width-60 fltlft">
                <fieldset class="adminform">
                    <legend>Thông tin người dùng</legend>
                    <ul class="adminformlist">
                        <li>
                            <label id="Label14" for="jform_title" class="hasTip required" title="">
                                Họ<span class="star">&nbsp;*</span></label>
                            <asp:TextBox ID="txtgivenName" onkeyup="getDisplayName();" CssClass="inputbox required txtname"
                                runat="server"></asp:TextBox>
                            <div class="clr">
                            </div>
                        </li>
                        <li>
                            <label id="jform_title-lbl" for="jform_title" class="hasTip required" title="">
                                Đệm</label>
                            <asp:TextBox ID="txtmidleName" onkeyup="getDisplayName();" CssClass="inputbox required txtmiddle"
                                runat="server"></asp:TextBox>
                            <div class="clr">
                            </div>
                        </li>
                        <li>
                            <label id="jform_menutype-lbl" for="jform_menutype" class="hasTip required" title="">
                                Tên<span class="star">&nbsp;*</span></label>
                            <asp:TextBox ID="txtsurName" onkeyup="getDisplayName();" CssClass="inputbox required txtlast"
                                runat="server"></asp:TextBox>
                        </li>
                        <script type="text/javascript">
                            function getDisplayName() {
                                var fisrt = $('.txtname').val().trim();
                                var second = $('.txtmiddle').val().trim();
                                var third = $('.txtlast').val().trim();
                                var display = "";
                                display = fisrt + " ";
                                if (second != '') {
                                    display = display + second + " ";
                                }
                                display = display + third;

                                $('.txtdisplayname').val(display);

                            }
                        </script>
                        <li>
                            <label id="Label21" for="jform_menutype" class="hasTip required" title="">
                                Tên hiển thị</label>
                            <asp:TextBox ID="txtDisplayName" CssClass="inputbox required txtdisplayname" runat="server"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label22" for="jform_menutype" class="hasTip required" title="">
                                Mô tả</label>
                            <asp:TextBox ID="txtDescription" CssClass="inputbox required" runat="server"></asp:TextBox>
                        </li>
                        <li>
                            <label id="Label12" for="jform_title" class="hasTip required" title="">
                                UserName<span class="star">&nbsp;*</span></label>
                            <asp:TextBox ID="txtUserName" Enabled="false" CssClass="inputbox required" runat="server"></asp:TextBox>
                            <div class="clr">
                            </div>
                        </li>
                        <li>
                            <label id="Label2" for="jform_title" class="hasTip required" title="">
                                Mail</label>
                            <asp:TextBox ID="txtMail" CssClass="inputbox required" runat="server"></asp:TextBox>
                            <div class="clr">
                            </div>
                        </li>
                        <li>
                            <label id="Label3" for="jform_title" class="hasTip required" title="">
                                HomePage</label>
                            <asp:TextBox ID="txtHomePage" CssClass="inputbox required" runat="server"></asp:TextBox>
                            <div class="clr">
                            </div>
                        </li>
                        <li>
                            <label id="Label13" for="jform_title" class="hasTip required" title="">
                                Ghi chú</label>
                            <asp:TextBox ID="txtNote" CssClass="inputbox required" runat="server"></asp:TextBox>
                            <div class="clr">
                            </div>
                        </li>
                        <li class="check-box-list">
                            <label id="Label23" for="jform_title" class="hasTip required" title="">
                                Tùy chọn</label>
                            <asp:CheckBoxList ID="chklAccountOptions" runat="server">
                                <asp:ListItem Value="2">Tài khoản bị khóa</asp:ListItem>
                                <asp:ListItem Value="65536">Mật khẩu không bao giờ hết hạn</asp:ListItem>
                                <asp:ListItem Value="0">Phải đổi mật khẩu trong lần đăng nhập tới</asp:ListItem>
                            </asp:CheckBoxList>
                            <div class="clr">
                            </div>
                        </li>
                    </ul>
                </fieldset>
                <fieldset class="adminform">
                    <ul class="adminformlist">
                        <li>
                            <label title="" class="hasTip" for="jform_created_by" id="Label17">
                                ĐT nhà riêng</label>
                            <asp:TextBox ID="txtHomephone" runat="server" Width="300px"></asp:TextBox>
                        </li>
                        <li>
                            <label title="" class="hasTip" for="jform_created_by" id="Label18">
                                ĐT Cơ quan</label>
                            <asp:TextBox ID="txtOfficephone" runat="server" Width="300px"></asp:TextBox>
                        </li>
                        <li>
                            <label title="" class="hasTip" for="jform_created_by" id="Label19">
                                Di động
                            </label>
                            <asp:TextBox ID="txtMobile" runat="server" Width="300px"></asp:TextBox>
                        </li>
                        <li>
                            <label title="" class="hasTip" for="jform_created_by" id="Label20">
                                Số fax
                            </label>
                            <asp:TextBox ID="txtFax" runat="server" Width="300px"></asp:TextBox>
                        </li>
                        <li>
                            <label title="" class="hasTip" for="jform_created_by" id="Label16">
                                ĐT Ip
                            </label>
                            <asp:TextBox ID="txtIpphone" runat="server" Width="300px"></asp:TextBox>
                        </li>
                    </ul>
                </fieldset>
            </div>
            <div class="width-40 fltrt">
                <div class="pane-sliders" id="content-sliders-">
                    <div class="panel">
                        <h3 id="publishing-details" class="title pane-toggler-down">
                            <a href="javascript:void(0);"><span>Thông tin về đơn vị</span></a></h3>
                        <div class="pane-slider content pane-down" style="padding-top: 0px; border-top: medium none;
                            padding-bottom: 0px; border-bottom: medium none; overflow: hidden; height: auto;">
                            <fieldset class="panelform">
                                <ul class="adminformlist">
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="jform_created_by-lbl">
                                            OU
                                        </label>
                                        <asp:DropDownList ID="ddlOU" runat="server">
                                        </asp:DropDownList>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label1">
                                            Chức vụ</label>
                                        <asp:TextBox ID="txtJob" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label4">
                                            Bộ phận</label>
                                        <asp:TextBox ID="txtDepartment" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label5">
                                            Tổ chức
                                        </label>
                                        <asp:TextBox ID="txtCompany" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label15">
                                            Địa chỉ cơ quan
                                        </label>
                                        <asp:TextBox ID="txtPhysicalDeliveryOfficeName" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                </ul>
                            </fieldset>
                        </div>
                    </div>
                </div>
            </div>
            <div class="width-40 fltrt">
                <div class="pane-sliders" id="Div1">
                    <div class="panel">
                        <h3 id="H1" class="title pane-toggler-down">
                            <a href="javascript:void(0);"><span>Thông tin liên hệ</span></a></h3>
                        <div class="pane-slider content pane-down" style="padding-top: 0px; border-top: medium none;
                            padding-bottom: 0px; border-bottom: medium none; overflow: hidden; height: auto;">
                            <fieldset class="panelform">
                                <ul class="adminformlist">
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label6">
                                            Địa chỉ 1
                                        </label>
                                        <asp:TextBox ID="txtAddress1" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label7">
                                            Địa chỉ 2</label>
                                        <asp:TextBox ID="txtAddress2" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label8">
                                            Thành phố</label>
                                        <asp:TextBox ID="txtCity" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label9">
                                            Mã bưu điện</label>
                                        <asp:TextBox ID="txtPostalcode" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label10">
                                            Tỉnh</label>
                                        <asp:TextBox ID="txtProvince" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label title="" class="hasTip" for="jform_created_by" id="Label11">
                                            Quốc gia</label>
                                        <asp:TextBox ID="txtCountry" runat="server" Width="300px"></asp:TextBox>
                                    </li>
                                </ul>
                            </fieldset>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
